package com.hll.dao;

import com.hll.pojo.Teacher;
import org.apache.ibatis.annotations.Param;

/**
 * @author: Mr.Hu
 * @create: 2021-03-10 14:26
 */
public interface TeacherMapper {
  Teacher getTeacherWithStudents(@Param("tid") Integer id);

  /*如果设置了@Param那么mapper.xml中的占位符必须同名*/
  Teacher getTeacherWithStudents2(@Param("tid") Integer id);
}
